package com.chenyuhan.myview.testview.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.chenyuhan.myview.R;

/**
 * Created by Administrator on 2017/6/29 0029.
 */

public class SecondActivity extends Activity {

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_second);
        findViewById(R.id.test_card_view_activity_btn).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(SecondActivity.this, TestCardViewActivity.class);
                startActivity(intent);
            }
        });
    }
}
